pp108 : Sample HTML

Sample HTML

This topic provides the sample code snippet of the HTML file to be created while creating a custom application connector.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html onapplicationselect="initialize()">
<head>
   <script type="text/javascript" src="/cordys/wcp/application.js"></script>
   <style>
        input{font-size:11; font-family:verdana;}
        label{font-size:11; font-family:verdana;}

   </style>
</head>
<script type="text/javascript" src="/cordys/wcp/admin/behavior/applicationconnector.js"></script>
<script type="text/javascript">
// Creates the xml
function createConnectorConfiguration(configurationNode)
{
    //Create & add XML nodes to configurationNode
    return true;
}

// This function fills in the values when used as a property page
function fillInPropertyScreen(configurationNode)
{
    //Parse the data from configurationNode XML and fill in the property screen
}
</script>
<body leftmargin="20">
      <table height="70%" width="100%" cellSpacing="0" cellPadding="0" align="middle">
            <tr height="30%">
                <td>
                    <label>Sample Application Connector</label>
                    <br />
                </td>
            </tr>
      </table>
</body>
</html>